package com.xzgj.fmmall.service;

import com.xzgj.fmmall.entity.Interests;
import com.xzgj.fmmall.vo.ResultVO;

import javax.websocket.server.PathParam;

public interface InterestsService {

    public ResultVO insertInterests(Interests interests);
    //根据Interests_id查询用户信息
    public ResultVO queryInterestsByInterestsId(int interestsId);
    //根据用户id更新用户信息
    public ResultVO updateInterestsInfoByInterestsId(Interests interests);
    public ResultVO deleteInterestsInfoByInterestsId(@PathParam("int") int interestsId);

    public ResultVO queryInterests();
}
